<template>
  <div>
    <p>商品标题：{{}}</p>
  </div>
</template>

<script>
export default {
  data() {
    return {
      shu: {},
    };
  },
  created() {
    let id = this.$route.query.id;
    console.log(id);
    this.http
      .get(`http://118.190.80.166:48010/api/Admin/goods/${id}`)
      .then((res) => {
        console.log(res);
        this.shu = res.data.data;
      });
  },
};
</script>

<style lang="scss" scoped>
</style>